import React from "react";

function index({ bgUrl, height }) {
    const style = {
        shopBg: {
            backgroundImage: `url(${bgUrl})`,
            backgroundSize: "cover",
            height: `${height}px`,
        },
    };

    return <div style={style.shopBg}></div>;
}

export default index;
